<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="importmap">
        {
            "imports": {
              "add": "./src/lib/add.js",
              "main": "./src/main.js"
            }
        }
    </script>
</head>

<body>
    <script type="module">
        import add from "add";
        console.log(add(1, 2));
    </script>
</body>

</html>